﻿<link href="~/Content/css/login.css" rel="stylesheet" />

<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login">
    <div class="layadmin-user-login-main">
        <div class="layadmin-user-login-box layadmin-user-login-header">
            <h2>Jszhou</h2>
            <p>Asp.Net-Identity通用登录权限管理系统</p>
        </div>

        @using (Ajax.BeginForm("Login", "AccountManage", new AjaxOptions()
        {
            OnBegin = "onBegin",
            OnSuccess = "onSuccess",
            OnFailure = "onFailure",
            OnComplete = "loginComplete"
        }))
        {
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="loginName"></label>
                    <input type="text" name="LoginName" id="loginName" autocomplete="off" lay-verify="required" placeholder="手机号码/邮箱" class="layui-input" />
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="password"></label>
                    <input type="password" name="Password" id="password" autocomplete="off" lay-verify="required" placeholder="密码" class="layui-input" />
                </div>
                <div class="layui-form-item" style="margin-bottom: 20px;">
                    <input type="checkbox" name="IsRember" value="true" lay-skin="primary" title="7天内免登录" />
                </div>
                <div class="layui-form-item">
                    <button type="submit" class="layui-btn layui-btn-fluid" lay-submit lay-filter="user-login" id="btn_Login">
                        登录
                    </button>
                </div>
                <div class="layui-trans layui-form-item layadmin-user-login-other">
                    <label>社交账号登入</label>
                    <a href="javascript:;"><i class="layui-icon layui-icon-login-qq"></i></a>
                    <a href="javascript:;"><i class="layui-icon layui-icon-login-wechat"></i></a>
                    <a href="javascript:;"><i class="layui-icon layui-icon-login-weibo"></i></a>

                    <a href="@Url.Action("Register")" class="layadmin-user-jump-change">注册帐号</a>
                </div>
            </div>
        }




    </div>
</div>

<script type="text/javascript">
    layui.cache.module = {
        moduleName: 'accountManage',
        pageName:'login'
    }
</script>



